//CONVERTED...UNTESTED

public class EgoCostDebuff : Buff{

	public EgoCostDebuff(int magnitude, int duration){
		this.magnitude = magnitude;
		this.duration = duration;
		this.debuff = true;
	}
	
	public void execute(Card card){
		
	}
	
	public void cleanse(Player target){
		target.egoCostRate -= magnitude/(float)100.0;
	}

}